from rest_framework import serializers
from .models import *

class UserSer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = "__all__"


class BookSer(serializers.ModelSerializer):
    class Meta:
        model = Book
        fields = "__all__"